<div id="myTicker">
	<div class="tickercontainer">
		<ul class="newsticker"><?php
		/* @var $utils Utils */
		global $utils, $isPaidMember;
//cmondor, ticker now contains Tickers (db table)
//		$picks = $utils->getAllPicks();
//		for($i=0; $i < 5; $i++) {
//			$li = '';
//			$pick = $picks[$i];
//			$isPublic = $utils->isPickPublic($pick);
//			$pickStr = '<a href="#"><img  style="vertical-align: top;" height="23" src="images/buy_now.png" /></a>';
//			if($isPublic || $isPaidMember) {
//			  $pickStr = '<a href="#" class="pickLink"/>' . $pick['p_pick'] . '</a>';
//			}
//			 
//			$pickEventShortDesc = $pick['e_vis_team'] . '@' . $pick['e_home_team'] . ' ' . @date("y-m-d", @strtotime($pick['e_starttime']));
//			?><li><strong><?php //$i == 0 ? 'Recent Picks: ' : '' ?> <?php  //$pickStr ?></strong> <a href="#"><?php  //$pickEventShortDesc ?></a>&nbsp;--&nbsp;</li><?php
//		}

		$ticks = $utils->getCurrentTickers();
		foreach($ticks as $tick) {
			?><li><a href="<?= $tick['t_href_url'] ?>"><?= $tick['t_text'] ?></a> &nbsp; &nbsp;</li><?php
		}
		?>
		</ul>
	</div>
</div>
<br />
<div id="mySlides">
	<div id="slider" class="nivoSlider">
		<!-- <img src="images/slid1_background.jpg" alt="" /> --> <!--  blank -->
		<img src="images/slid2.jpg" /> <!--  referee -->
		<!-- <img src="images/slid3.jpg" /> --> <!-- bread and butter -->
		<a href="http://www.facebook.com/pages/Halftimegeniuscom/105242192911577"><img src="images/slid4.jpg" /></a> <!-- facebook image -->
		<!-- <img src="images/slid5.jpg" /> --> <!-- facebook image -->
		<img src="images/slid6.jpg" /> <!-- gold mine image -->
		<a href="https://twitter.com/#!/halftimegenius"><img src="images/slid7.jpg" /></a> <!-- twitter image -->

		 <!-- <a href="about.php">
		<img
			src="images/thumbs_up.png" alt="" title="#htmlcaption" /> </a> <img
			src="images/buy_now.png" alt=""
			title="This is an example of a title caption" /> -->
	</div>
	<div id="htmlcaption" class="nivo-html-caption">
		<strong>This</strong> is an example of an <em>HTML</em> caption with <a
			href="#">a link</a>.
	</div>
</div>
<div id="myOffers">
<!-- 	<h2 class="myOfferTitle">Today's Offers</h2> -->
	<form style="margin-left: auto; margin-right: auto; text-align: center;" action="https://www.paypal.com/cgi-bin/webscr" method="post" id="paypalForm">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="custom" value="<?= session_id() ?>" />
<input type="hidden" name="hosted_button_id" value="DK59P8BXQZPRS">
<input style="margin-left: auto; margin-right: auto; " type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
	<br />
	<div style="text-align: center; font-size: 1.3em;">OR <br /> Call Us Toll Free:<br /> (855) WIN-HALF</div>
	<!--  -->
	
</div>
<br />
<div id="recentPicks">
	<h1 class="myBigTitle">Recent Picks</h1>
	<div id="miniPickTable">
	<?php global $page;

	if(!($page->isLoggedIn())) {
	 ?><div style="margin-left: 9em; text-align: center; margin-right: auto; width: 25em;"><h1>To see the Recent Picks<br />It's FREE!!!</h1><a href="getit.php"><img src="images/signup-button.png" border="0" width="250"/></a><br/><h1>Only your email is required, try it.</h1></div><?php
	} else {
	$picTable = $page->myUtils->returnMiniTableOfPicks();
	echo $picTable;
}
	  ?>
	  </div>
</div>
<div id="hitUsUp">
	<h2 class="myOfferTitle">Headlines</h2>
	<ul id ="headlineUL">
	<?php
	global $posts;
	foreach($posts as $recordNum => $post) {
	echo '<li><a href="blog.php#' . $post['be_id'] . '">' . substr($post['be_title'], 0, 25) .  '...</a></li>';
	}
	?>
	</ul>
</div>